<div id="statistic-tab-view">
<ul class="yui-nav">
	<?php foreach($accountListByMonth as $month => $oneDayAccountList) { ?>
	<li><a href="#tab-<?php echo $month; ?>"><em><?php echo $month; ?></em></a></li>
	<?php } ?>
</ul>
<div class="yui-content">
	<?php foreach($accountListByMonth as $month => $oneDayAccountList) { ?>
	<div id="tab-<?php echo $month; ?>" class="account-record-daily-info">
	<div id="div-statistic-<?php echo $month; ?>" class="month-statistic-data-table"></div>
	
	<!-- 用户帐户中每月每天的统计信息 -->
	<table id="table-<?php echo $month; ?>" class="month-statistic-data-source">
		<thead>
			<tr>
				<th>Date</th>
				<th>Income</th>
				<th>Expend</th>
				<th>Total</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach($statisticListByDay[$month] as $statisticByDay) {?>
			<tr>
				<td><?php echo $statisticByDay["date"]; ?></td>
				<td><?php echo $statisticByDay["in"]; ?></td>
				<td><?php echo $statisticByDay["out"]; ?></td>
				<td><?php echo $statisticByDay["total"]; ?></td>
			</tr>
			<?php } ?>
		</tbody>
	</table>
	
	<!-- 每个月的详细帐单统计信息 -->
	<?php //include("template/month-statistic-panel.php"); ?>
	
	<!-- 用户帐户每个月中每天的详细信息（流水） -->
	<?php include("template/day-detail-info-panel.php"); ?>
	
	</div>
	<?php } ?>
</div>
</div>
